import service from "@/utils/fetch";
const post = {
  //查询会员优惠券分页
  vipCoupon_list(params) {
    return service({
      method: "get",
      params,
      url: "/api/vipCoupon/",
    });
  },

  //会员优惠券：停用
  vipCoupon_disable(id) {
    return service({
      method: "post",
      url: `/api/vipCoupon/disable/${id}`,
    });
  },
};

export default post;
